package com.intco.ait.quotation.api.starter;

import com.intco.ait.quotation.api.starter.advice.EnableExceptionAdvice;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.util.TimeZone;

@SpringBootApplication(scanBasePackages = "com.intco.ait")
@EnableScheduling
@EnableExceptionAdvice
@MapperScan("com.intco.ait.quotation.api.infrastructure.mybatis.mapper")
public class Application {

    public static void main(String[] args) {
        TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai"));
        SpringApplication.run(Application.class, args);
        System.out.println("ヾ(◍°∇°◍)ﾉﾞ    【quotation-api】启动成功      ヾ(◍°∇°◍)ﾉﾞ");
    }

}
